#include <mm/mmu.h>

__attribute__((__aligned__(PAGE_DIR_SIZE)))
unsigned _startup_page_dir[PAGE_DIR_NUM] = {
	2 | (2 << 10) | (0 << 20), 
	2 | (2 << 10) | (1 << 20),
	2 | (2 << 10) | (2 << 20), 
	2 | (2 << 10) | (3 << 20),
	2 | (2 << 10) | (4 << 20), 
	2 | (2 << 10) | (5 << 20),
	2 | (2 << 10) | (6 << 20), 
	2 | (2 << 10) | (7 << 20),
	2 | (2 << 10) | (8 << 20), 
	2 | (2 << 10) | (9 << 20),
	2 | (2 << 10) | (10 << 20), 
	2 | (2 << 10) | (11 << 20),
	2 | (2 << 10) | (12 << 20), 
	2 | (2 << 10) | (13 << 20),
	2 | (2 << 10) | (14 << 20), 
	2 | (2 << 10) | (15 << 20),
	2 | (2 << 10) | (16 << 20), 
	2 | (2 << 10) | (17 << 20),
	2 | (2 << 10) | (18 << 20), 
	2 | (2 << 10) | (19 << 20),
	2 | (2 << 10) | (20 << 20), 
	2 | (2 << 10) | (21 << 20),
	2 | (2 << 10) | (22 << 20), 
	2 | (2 << 10) | (23 << 20),
	2 | (2 << 10) | (24 << 20), 
	2 | (2 << 10) | (25 << 20),
	2 | (2 << 10) | (26 << 20), 
	2 | (2 << 10) | (27 << 20),
	2 | (2 << 10) | (28 << 20), 
	2 | (2 << 10) | (29 << 20),
	2 | (2 << 10) | (30 << 20), 
	2 | (2 << 10) | (31 << 20),
/*
	2 | (2 << 10) | (32 << 20), 
	2 | (2 << 10) | (33 << 20),
	2 | (2 << 10) | (34 << 20), 
	2 | (2 << 10) | (35 << 20),
	2 | (2 << 10) | (36 << 20),
	2 | (2 << 10) | (37 << 20),
	2 | (2 << 10) | (38 << 20),
	2 | (2 << 10) | (39 << 20),
	2 | (2 << 10) | (40 << 20), 
	2 | (2 << 10) | (41 << 20),
	2 | (2 << 10) | (42 << 20),
	2 | (2 << 10) | (43 << 20),
	2 | (2 << 10) | (44 << 20),
	2 | (2 << 10) | (45 << 20),
	2 | (2 << 10) | (46 << 20),
	2 | (2 << 10) | (47 << 20),
	2 | (2 << 10) | (48 << 20),
	2 | (2 << 10) | (49 << 20),
	2 | (2 << 10) | (50 << 20),
	2 | (2 << 10) | (51 << 20),
	2 | (2 << 10) | (52 << 20),
	2 | (2 << 10) | (53 << 20),
	2 | (2 << 10) | (54 << 20),
	2 | (2 << 10) | (55 << 20),
	2 | (2 << 10) | (56 << 20),
	2 | (2 << 10) | (57 << 20),
	2 | (2 << 10) | (58 << 20),
	2 | (2 << 10) | (59 << 20),
	2 | (2 << 10) | (60 << 20),
	2 | (2 << 10) | (61 << 20),
	2 | (2 << 10) | (62 << 20),
	2 | (2 << 10) | (63 << 20),
*/
	[KERNEL_BASE >> 20] = 
	2 | (2 << 10) | (0 << 20), 
	2 | (2 << 10) | (1 << 20),
	2 | (2 << 10) | (2 << 20), 
	2 | (2 << 10) | (3 << 20),
	2 | (2 << 10) | (4 << 20),
	2 | (2 << 10) | (5 << 20),
	2 | (2 << 10) | (6 << 20),
	2 | (2 << 10) | (7 << 20),
	2 | (2 << 10) | (8 << 20), 
	2 | (2 << 10) | (9 << 20),
	2 | (2 << 10) | (10 << 20),
	2 | (2 << 10) | (11 << 20),
	2 | (2 << 10) | (12 << 20),
	2 | (2 << 10) | (13 << 20),
	2 | (2 << 10) | (14 << 20),
	2 | (2 << 10) | (15 << 20),
	2 | (2 << 10) | (16 << 20),
	2 | (2 << 10) | (17 << 20),
	2 | (2 << 10) | (18 << 20),
	2 | (2 << 10) | (19 << 20),
	2 | (2 << 10) | (20 << 20),
	2 | (2 << 10) | (21 << 20),
	2 | (2 << 10) | (22 << 20),
	2 | (2 << 10) | (23 << 20),
	2 | (2 << 10) | (24 << 20),
	2 | (2 << 10) | (25 << 20),
	2 | (2 << 10) | (26 << 20),
	2 | (2 << 10) | (27 << 20),
	2 | (2 << 10) | (28 << 20),
	2 | (2 << 10) | (29 << 20),
	2 | (2 << 10) | (30 << 20),
	2 | (2 << 10) | (31 << 20),
/*
	2 | (2 << 10) | (32 << 20), 
	2 | (2 << 10) | (33 << 20),
	2 | (2 << 10) | (34 << 20), 
	2 | (2 << 10) | (35 << 20),
	2 | (2 << 10) | (36 << 20),
	2 | (2 << 10) | (37 << 20),
	2 | (2 << 10) | (38 << 20),
	2 | (2 << 10) | (39 << 20),
	2 | (2 << 10) | (40 << 20), 
	2 | (2 << 10) | (41 << 20),
	2 | (2 << 10) | (42 << 20),
	2 | (2 << 10) | (43 << 20),
	2 | (2 << 10) | (44 << 20),
	2 | (2 << 10) | (45 << 20),
	2 | (2 << 10) | (46 << 20),
	2 | (2 << 10) | (47 << 20),
	2 | (2 << 10) | (48 << 20),
	2 | (2 << 10) | (49 << 20),
	2 | (2 << 10) | (50 << 20),
	2 | (2 << 10) | (51 << 20),
	2 | (2 << 10) | (52 << 20),
	2 | (2 << 10) | (53 << 20),
	2 | (2 << 10) | (54 << 20),
	2 | (2 << 10) | (55 << 20),
	2 | (2 << 10) | (56 << 20),
	2 | (2 << 10) | (57 << 20),
	2 | (2 << 10) | (58 << 20),
	2 | (2 << 10) | (59 << 20),
	2 | (2 << 10) | (60 << 20),
	2 | (2 << 10) | (61 << 20),
	2 | (2 << 10) | (62 << 20),
	2 | (2 << 10) | (63 << 20)
	*/
};
